package com.wzx.common.pojo.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/1/23 - 17:20
 * @description 分页参数
 */
@Data
@AllArgsConstructor
@ApiModel(description = "响应分页参数", value = "PageInfo")
public class PageInfo {
    @ApiModelProperty(notes = "当前页码", required = true)
    private long page;
    @ApiModelProperty(notes = "当前展示记录数", required = true)
    private long size;
    @ApiModelProperty(notes = "总记录数", required = true)
    private long total;
    @ApiModelProperty(notes = "总页数", required = true)
    private long num;

}
